package com.example.sbbsec.domain.pay.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * <p> 获取openid返回结果
 *
 * @author lowe.yang on 2018-08-30
 */
@Data
public final class OpenIdResponse {

    /**
     * 用户唯一标识
     */
    @JSONField(name = "openid")
    private String openId;

    /**
     * 会话密钥
     */
    @JSONField(name = "session_key")
    private String sessionKey;

    /**
     * 用户在开放平台的唯一标识符
     */
    @JSONField(name = "unionid")
    private String unionId;

    /**
     * 错误编码
     */
    @JSONField(name = "errcode")
    private String errCode;

    /**
     * 错误信息
     */
    @JSONField(name = "errmsg")
    private String errMsg;

}
